package com.example.mymatch.dao;

import com.example.mymatch.model.Leave;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：杨滢
 */

@Mapper
public interface ILeave {
    //添加请假信息
    int insertLeave(Leave leave);
    //添加请假信息
    int updateLeave(Leave leave);
    //删除请假信息
    int deleteLeave(Leave leave);
    //请假查询
    List<Leave> getAllLeave(Leave leave);
    //查询单条请假数据
    Leave getLeave(Leave leave);
}
